package cn.gmcx.lazy.izze.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Data;
import lombok.Getter;


@Getter
public enum DynamicTypeEnum {
    CREATE("创建了",0),
    UPDATE("更新了",1),
    DELETE("删除了",2)
    ;
    @JsonValue
    String title;
    @EnumValue
    Integer value;

    DynamicTypeEnum(String title, Integer value) {
        this.title = title;
        this.value = value;
    }
}
